package com.zlc.common.core.process.model.entity;

import com.zlc.common.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * @author  zl
* @date 2023-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "stone_process_auth_config")
public class StoneProcessAuthConfig extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 流程定义ID
	 */
	@TableField(value="process_id_")
	private String processId;

	/**
	 * 配置类型 PROCESS|NODE
	 */
	@TableField(value="auth_type_")
	private String authType;

	/**
	 * 用户类型
	 */
	@TableField(value="user_type_")
	private String userType;

	/**
	 * 节点ID
	 */
	@TableField(value="node_id_")
	private String nodeId;

	/**
	 * 权限资源
	 */
	@TableField(value="auth_res_")
	private String authRes;

	/**
	 * 是否允许
	 */
	@TableField(value="allow_flag_")
	private Boolean allowFlag;

	/**
	 * 是否拒绝
	 */
	@TableField(value="refuse_flag_")
	private Boolean refuseFlag;

	/**
	 * 序号
	 */
	@TableField(value="order_")
	private Integer order;

}
